package com.red.wood.module.system.service.impl;

import java.util.List;
import java.util.Map;

import javax.transaction.Transactional;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.red.wood.module.system.dao.ProvinceDao;
import com.red.wood.module.system.service.ProvinceService;

@Service
@Transactional
public class ProvinceServiceImpl implements ProvinceService{

	@Autowired
	private ProvinceDao provinceDao;
	
	@Override
	public List<Map<String, Object>> getList() {
		return provinceDao.getList();
	}

	@Override
	public Map<String, Object> getByProvince(String province) {
		return provinceDao.getByProvince(province);
	}

}
